package com.hsgene.order.dto.details;

import java.io.Serializable;

/**
 * 订单详情中订单商品信息
 *
 * @author wxf
 * @date 2018/8/7 16:49
 **/
public class OrderDetailsGoodsInfo implements Serializable {
    /**
     * 子订单ID
     */
    private String itemOrderId;
    /**
     * 服务名称
     */
    private String serviceName;
    /**
     * 商品规格
     */
    private String specification;
    /**
     * 单价
     */
    private double univalence;

    /**
     * 数量
     */
    private int count;

    /**
     * 油费
     */
    private double postage;
    /**
     * 优惠价格
     */
    private double totalDiscountsAmount;
    /**
     * 实际支付价格
     */
    private double totalRealAmount;

    /**
     * 实际总价
     */
    private double totalAmount;

    /**
     * 图片
     */
    private String coverUrl;

    /**
     * 开始价格
     */
    private double priceSectionStart;

    /**
     * 结束价格
     */
    private double priceSectionEnd;

    public String getItemOrderId() {
        return itemOrderId;
    }

    public void setItemOrderId(String itemOrderId) {
        this.itemOrderId = itemOrderId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public double getUnivalence() {
        return univalence;
    }

    public void setUnivalence(double univalence) {
        this.univalence = univalence;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getPostage() {
        return postage;
    }

    public void setPostage(double postage) {
        this.postage = postage;
    }

    public double getTotalDiscountsAmount() {
        return totalDiscountsAmount;
    }

    public void setTotalDiscountsAmount(double totalDiscountsAmount) {
        this.totalDiscountsAmount = totalDiscountsAmount;
    }

    public double getTotalRealAmount() {
        return totalRealAmount;
    }

    public void setTotalRealAmount(double totalRealAmount) {
        this.totalRealAmount = totalRealAmount;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public double getPriceSectionStart() {
        return priceSectionStart;
    }

    public void setPriceSectionStart(double priceSectionStart) {
        this.priceSectionStart = priceSectionStart;
    }

    public double getPriceSectionEnd() {
        return priceSectionEnd;
    }

    public void setPriceSectionEnd(double priceSectionEnd) {
        this.priceSectionEnd = priceSectionEnd;
    }

    @Override
    public String toString() {
        return "OrderDetailsGoodsInfo{" +
                "serviceName='" + serviceName + '\'' +
                ", specification='" + specification + '\'' +
                ", univalence=" + univalence +
                ", count=" + count +
                ", postage=" + postage +
                ", totalDiscountsAmount=" + totalDiscountsAmount +
                ", totalRealAmount=" + totalRealAmount +
                ", totalAmount=" + totalAmount +
                ", coverUrl='" + coverUrl + '\'' +
                ", priceSectionStart=" + priceSectionStart +
                ", priceSectionEnd=" + priceSectionEnd +
                '}';
    }
}
